package com.kqb.common.domain.page;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 杉果树皮
 * @date 2025/2/15 14:43
 * @description: 分页结果
 */
@ApiModel("分页结果")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {
    @ApiModelProperty("当前页数")
    int page;

    @ApiModelProperty("每页记录数")
    int pageSize;

    @ApiModelProperty("总记录数")
    long total;

    @ApiModelProperty("分页结果")
    T data;
}
